﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LoungeRepo.Contracts.Core;

namespace Using_collections
{
    class EntityBase
    {
        public EntityBase() { this.id = Guid.NewGuid().ToString(); }

        protected string id;
        public string Id
        {
            get { return this.id; }
            set { this.id = value; }
        }
        public string Partition { get { return this.GetType().Name; } }
    }
}
